-- GENERATED SPELL FOR [Boglash] --


function spell0_18281(pUnit, Event) --@Forked Lightning Tether,n/a--
pUnit:FullCastSpellOnTarget(35493,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18281', 5000, 1)
end

function Sorts_18281(pUnit, Event)
local choix_sorts_18281 = math.random(0, 0)
if choix_sorts_18281 == 0 then
pUnit:RegisterEvent('spell0_18281', 1, 1)
end
end

function mob18281_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18281', math.random(1500, 3000), 1)
end

function mob18281_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18281_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18281_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18281, 1, 'mob18281_Action')
RegisterUnitEvent(18281, 2, 'mob18281_Leave')
RegisterUnitEvent(18281, 3, 'mob18281_Kill')
RegisterUnitEvent(18281, 4, 'mob18281_Die')
